import argparse


def main():
    parser = argparse.ArgumentParser()
    parser.add_argument('-l',
                        '--length',
                        help='password length',
                        type=int,
                        default=10)
    parser.add_argument('-c',
                        '--lower',
                        help='minimum number of lowercase characters',
                        type=int,
                        default=2)
    parser.add_argument('-C',
                        '--upper',
                        help='minimum number of UPPERCASE characters',
                        type=int,
                        default=2)
    parser.add_argument('-d',
                        '--digits',
                        help='minimum number of digits',
                        type=int,
                        default=2)
    parser.add_argument('-s',
                        '--special',
                        help='minimum number of special characters',
                        type=int,
                        default=2)
    args = parser.parse_args()
    print("args is: ", args)


if __name__ == '__main__':
    main()
